<?php
$this->breadcrumbs=array(
	'考试'=>array('index'),
	'查看',
);

$this->menu=array(
	array('label'=>'新增', 'url'=>array('create')),
	array('label'=>'修改', 'url'=>array('update', 'id'=>$model->exams_id)),
	array('label'=>'删除', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->exams_id),'confirm'=>'确认删除?')),
	array('label'=>'管理', 'url'=>array('admin')),
);
?>


<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'exams_name',
		'exams_times',
		array('name'=>'exams_memo','type'=>'html'),
		array('name'=>'exams_tests_id','label'=>'试卷名称',value=>$model->tests->tests_name),
		array('name'=>'exams_statuts','value'=>$model->getStateText()),
		array(               // related city displayed as a link
            'name'=>'exams_creater_id',
			'value'=>$model->author->user_name,
        ),
		'exams_edit_tims',
	),
)); ?>
